

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JTextPane;

public class PatientInvoiceGUI extends JPanel {
    int location;
    public PatientInvoiceGUI() {
        setLayout(null);
        
        JLabel lblDate = new JLabel("Date");
        lblDate.setBounds(10, 11, 46, 14);
        add(lblDate);
        
        JLabel lblLabel = new JLabel("Label1");
        lblLabel.setBounds(53, 11, 46, 14);
        add(lblLabel);
        
        JLabel lblDoctor = new JLabel("Doctor");
        lblDoctor.setBounds(10, 36, 46, 14);
        add(lblDoctor);
        
        JLabel lblLabel_1 = new JLabel("Label2");
        lblLabel_1.setBounds(53, 36, 46, 14);
        add(lblLabel_1);
        
        JLabel lblBill = new JLabel("Bill");
        lblBill.setBounds(10, 61, 46, 14);
        add(lblBill);
        
        JButton btnBack = new JButton("Back");
        btnBack.setBounds(10, 266, 89, 23);
        add(btnBack);
        
        JTextPane textPane = new JTextPane();
        textPane.setBounds(53, 61, 208, 108);
        add(textPane);
    }
    public int getLoc(){
        return location;
    }
    
    public void setLoc(int i){
        location = i;
    }
}
